<?php

namespace Drupal\shusy_product_pintuan\ViewsController\handler\filter;

use Drupal\shusy_product_pintuan\ViewsController\Traits\ShusyProductPintuanAmountTypeTrait;
use views_handler_filter_in_operator;

class ShusyProductPintuanAmountTypeViewsFilter extends views_handler_filter_in_operator {

  use ShusyProductPintuanAmountTypeTrait;

  function get_value_options() {
    if (!isset($this->value_options)) {
      $this->value_title = "拼团价格模式 1 固定金额 2 比例折扣";
      $this->value_options = $this->getAmountTypeOptions();
    }
  }
}
